<template>
  <div class="content">
    <div>
      <!-- 路由跳转 -->
      <el-row :style="{display:'flex',justifyContent:'space-around'}">
        <router-link :to="{name:'gatt'}">
          <el-button class="nav_but">出口订单</el-button>
        </router-link>
        <router-link :to="{name:'area'}">
          <el-button class="nav_but">辖区企业</el-button>
        </router-link>
        <router-link :to="{name:'trace'}">
          <el-button class="nav_but">贸易地区</el-button>
        </router-link>
        <router-link :to="{name:'trade'}">
          <el-button class="nav_but">涉美跟踪</el-button>
        </router-link>
      </el-row>
    </div>
    <!-- 表格内容 -->
    <div :style="{marginTop:'30px',border:'1px solid #ebeef5',borderRadius:'10px',}">
      <el-table :data="tableData" stripe style="width: 100%;color: #909399;justify-content:center">
        <el-table-column prop="date" label="激活企业总数" align="center" width="180"></el-table-column>
        <el-table-column prop="name" label="申报企业总数" align="center" width="180"></el-table-column>
        <el-table-column prop="address" label="在手订单总数" align="center"></el-table-column>
        <el-table-column prop="address" label="在手订单总金额" align="center"></el-table-column>
        <el-table-column prop="address" label="出货订单总数" align="center"></el-table-column>
        <el-table-column prop="address" label="出货订单总金额" align="center"></el-table-column>
      </el-table>
      <el-row>
        <el-col :span="8">
          <div style="color: #909399;">
            <h4>
              涉美企业总数
              <span style="color:red;">123556</span> 家
            </h4>
          </div>
        </el-col>
        <el-col :span="8">
          <div style="color: #909399;">
            <h4>
              涉美订单总数
              <span style="color:red;">123556</span> 笔
            </h4>
          </div>
        </el-col>
        <el-col :span="8">
          <div style="color: #909399;">
            <h4>
              涉美企业总金额
              <span style="color:red;">123556</span> 万金额
            </h4>
          </div>
        </el-col>
      </el-row>
    </div>
    <div class="ent_rank">
      <div :style="{border:'1px solid #ebeef5',borderRadius:'10px',flex:'1',marginRight:'10px',}">
        <span style="color:#909399">企业在手订单总排行</span>
        <div class="right_hand">
          <div>
            <p style="color: #888;margin:0;font-weight:600;">企业名称</p>
            <p style="color: #909399;">xx企业</p>
            <p style="color: #909399;">xx企业</p>
            <p style="color: #909399;">xx企业</p>
          </div>
          <div>
            <p style="color: #888;margin:0;font-weight:600;">在手订单总数</p>
            <p style="color: #909399;">1,534</p>
            <p style="color: #909399;">24,564</p>
            <p style="color: #909399;">34,547</p>
          </div>
        </div>
        <!-- <el-table
          :data="tableData"
          style="width: 100%"
          :style="{margin:'auto',alignSelf:'center',}"
        >
          <el-table-column prop="date" label="企业名称" align="center" width="180"></el-table-column>
          <el-table-column prop="name" label="在手订单总数" align="center" width="180"></el-table-column>
        </el-table>-->
      </div>
      <div :style="{border:'1px solid #ebeef5',borderRadius:'10px',flex:'1',marginLeft:'10px',}">
        <span style="color:#909399">企业出货订单总金额排行</span>
        <div class="right_hand">
          <div>
            <p style="margin:0;color:#888;font-weight:600;">企业名称</p>
            <p style="color: #909399;">xx企业</p>
            <p style="color: #909399;">xx企业</p>
            <p style="color: #909399;">xx企业</p>
          </div>
          <div>
            <p style="margin:0;color:#888;font-weight:600;">在手订单总数</p>
            <p style="color: #909399;">1,534</p>
            <p style="color: #909399;">24,564</p>
            <p style="color: #909399;">34,547</p>
          </div>
        </div>
        <!-- <el-table :data="tableData" style="width: 100%">
          <el-table-column prop="date" label="企业名称" align="center" width="180"></el-table-column>
          <el-table-column prop="name" label="出货订单总金额" align="center" width="180"></el-table-column>
        </el-table>-->
      </div>
    </div>
  </div>
</template>

  <script>
export default {
  name: "Analysis",
  data() {
    return {};
  }
};
</script>
  
<style scoped>
.el-row {
  margin-bottom: 10px;
  &:last-child {
    margin-bottom: 0;
  }
}
.el-col {
  border-radius: 4px;
  text-align: center;
}
span {
  display: inline-block;
  padding: 5px;
  border-right: 1px solid #ebeef5;
  border-bottom: 1px solid #ebeef5;
  font-weight: 400;
  color: #606266;
}
.ent_rank {
  width: 100%;
  display: flex;
  margin-top: 30px;
  justify-content: space-around;
}
.nav_but {
  width: 200px;
  height: 100px;
  font-size: 25px;
  background-color: #b3d8ff;
  color: 409eff;
}
.right_hand {
  display: flex;
  height: 30%;
  justify-content: space-around;
  /* border-top: 1px solid #333; */
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
}
.content {
  width: 80%;
  margin: auto;
  padding: 20px;
}
</style>

